package com.example.demo.service;

import com.example.demo.dao.ToolDao;
import com.example.demo.dto.Tool;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author 胡方博
 * @Date 2024-08-03  下午5:48
 **/
@Service
public class ToolServiceIml implements ToolService{
@Resource private ToolDao toolDao;
    @Override
    public List<Tool> getUserById(Integer id )  {
        return toolDao.getUserById(id);
    }
}
